<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/10/30 0030
 * Time: 16:37
 */
namespace plugins\qbt_wx_os\model;//Demo插件英文名，改成你的插件英文就行了
use think\Model;

class WxOsConfigModel extends Model{
    protected $name = 'wx_os_config';

    public function data_list(){
        return $this->find();
    }

    public function add_data($data){
        return $this->insertGetId($data);
    }

    public function update_data($where,$data){
        return $this->where($where)->update($data);
    }

}